package com.example.guiguihomemedical.service;


import com.example.guiguihomemedical.entity.FollowUp;
import com.example.guiguihomemedical.entity.followup.FollowupWith;
import com.example.guiguihomemedical.entity.followup.ListFollowupWith;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.text.ParseException;
import java.util.List;

public interface FollowUpService {
    String add(FollowUp followUp,Object o) throws JsonProcessingException;
    String update(FollowUp followUp,Object o) throws JsonProcessingException;
    String delete(FollowUp followUp,Object o) throws JsonProcessingException;

    List<ListFollowupWith> findByPage(Integer PageBegin, Integer PageSize,String timeLimit, String dateA, String dateB, Integer state, String type,String searchString) throws ParseException;

    FollowupWith getOneFollowup(Integer id);
    List<String> getOnesFollowUpType(String idcard);
}
